#sorting algorithms
Explore tagged Tumblr posts
assemblageofbirds · 3 months ago
Text
Sentence me to death by sorting algorithm rearranging my atoms by size.
I’ll finally achieve my true form of a 2d right angle triangle.
10 notes · View notes
cool-retro-term-official · 10 months ago
Text
one of the best sorting algorithm though has to be the denial sorting algorithm (O(0) space & time): first, shuffle the list...
And... Now it's sorted ! no no, I swear it's sorted. It just couldn't be not sorted. It's sorted. Don't worry about it. It's mostly- it's Completely sorted. From start to finish. Yeah 1, 5, 4, 2, 6, 9, 8, 3, 7, 0, just like we learned in school ! Now run you binary search or something on it, don't worry.
18 notes · View notes
lady-of-imladris · 1 month ago
Note
Considering that you love sorting stuff, please tell me about your favourite sorting algorithm
Ooh yayy algorithms!
So, my personal favourite is Miracle Sort which works like this:
while true:
check if the list is sorted
if it is sorted: yayy you're done, exit the loop
else: hope for a miracle and do another iteration :)
In all seriousness though I have recently become a fan of sweet little recursive solutions so I have to say Mergesort!!
Though a classic Bubblesort is also nice because you can just implement it with ZERO thinking required which is sometimes very necessary lol
What's your favourite?
5 notes · View notes
steviewashere · 9 months ago
Text
taking a break from editing my big bang by listening to this shit:
youtube
it has my full undivided attention. I don't even know what the fuck it's for, but the sounds are neat.
5 notes · View notes
cogito-ergo-sum-for-i-am · 3 months ago
Text
I SPENT 10 HOURS WATCHING SORTING ALGORITHM VIDEOS. I ENJOY THESE, I THINK I WILL WATCH MORE.
3 notes · View notes
sauleline2 · 10 months ago
Text
>be me
>be Base 10 In-Place Lowest Significant Digit Radix Sort
>get given an array with 4096 numbers
>make 0 comparisons
>make 85 million writes to the array
>1.3 seconds have passed
>array is sorted
>refuse to elaborate further
>leave
5 notes · View notes
quanyails · 2 years ago
Text
When you live to write code but also speedrun jigsaw puzzles
Tumblr media
30 notes · View notes
ncsasp · 1 year ago
Text
Tumblr media
For a coding project using Code.org, i made a set of visual sorting algorithms. Enjoy!
[ID: a gif of 10 values being sorted with swap sort. When sorted it turns to 50 values being sorted with swap sort. When sorted it turns to 100 values being sorted with swap sort. When sorted, it turns into 100 values (with repeated values) being sorted with swap sort. Then it is 5 values sorted with bogosort, then 100 values “sorted” with stalin sort. After stalin sort concludes an image of stalin appears with the text “this sort is stalin-approved”. End ID.]
9 notes · View notes
windsails · 8 months ago
Text
what’s currently called “ai” is just a program that applies some particular sorting function to a large dataset. all ai really is is a sorting algorithm run on a really large dataset. it sorts everything into specific places in the vector space. it’s a vector sorting algorithm
and they keep changing the sorting function and running it again to the point where they waste a huge amount of power to do it
that’s all it is. it’s actually pretty stupid
2 notes · View notes
autisticnari · 1 year ago
Text
Tumblr media
Shell sort best sort!!! (reupload from 2 years ago, accidentally deleted the post lmfao)
3 notes · View notes
bea-sty · 2 years ago
Text
tiktokers have GOT to stop edging the bogo sort. LET HIM FINISH!!
7 notes · View notes
akhillasmyth · 1 year ago
Text
*depressively scrolling spotify*
“I- sorting algorithms aint that the funk-“
*ascends to godhood*
3 notes · View notes
pizzaronipasta · 1 year ago
Text
youtube
Damn, just letting this play in the background put me in a strangely good mood. Unexpected bogosort w.
2 notes · View notes
barrelrollgif · 2 years ago
Text
@bogos-bint3d *sorts you*
youtube
*for thirty minutes*
6 notes · View notes
oneawkwardcookie · 19 days ago
Text
[Image description: screenshot of a social media post, and tumblr tags
Image 1: Post from @/alecstapp [verified checkmark emoji] that reads, "Still laughing about the time a computer scientist who had his bike stolen tried to explain binary search to a cop."
Underneath they've included a screenshot that reads, "Afterwards I found a chatroom thread among Cambridge computer scientists, one of whom had also been told that unless he could pin down the moment of theft no one would look at the footage. He said he tried to explain sorting algorithms to police - he was a computer scientist, after all.
You don't watch the whole thing, he said. You use a binary search. You fast forward to halfway, see if the bike is there and, if it is, zoom to three quarts of the way through. But if it wasn't there at the halfway mark, you rewind to quarter of the way through. It's very quick. In fact, he had pointed out, if the CCTV footage stretched back to the dawn of humanity it would probably have only taken an hour to find the moment of theft. This argument didn't go down well."
Image 2: Tags reading "i appreciate your valiant efforts but you're trying to explain sorting algorithms to a brick wall that hates you"
/end ID]
Tumblr media
115K notes · View notes
under-the-pondering-tree · 9 days ago
Text
Messy room? no no no no no- it's perfectly organized. I just happen to use intelligent design sort
0 notes